home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / hardware-part1 / 7298 / text0000.txt < prev   
Encoding:
Text File  |  1996-08-05  |  2.8 KB  |  80 lines

  1. Job Hanssen wrote:
  2. > I have a question concerning the integration of TAR, BTNtape (by Bob
  3. > Rethemeyer) and a HP 35470A Dat Drive into a backup system.
  4.  
  5. Use Gnutar from aminet.
  6.  
  7. > I've managed to setup everything and it does work, but it's slow as
  8. > hell, although the drive only stops a few times while backing up about
  9. > 1,6 gig. This takes almost 3 houres!
  10. >  I've setup BTNtape as follows:
  11. > /* dosdriver TAPE: */
  12. >         Handler   = L:btn-handler
  13. >         Startup   = "warpdrive.device/UN-2/BS-512/NB-100/BT-4/RT-0"
  14. >         Stacksize = 4000
  15. >         Priority  = 5
  16. >         GlobVec   = -1
  17. >         Mount     = 1
  18. > #
  19. > and I do a backup with:
  20. > 'tar -cab 120 -f TAPE: <device>'
  21. > I have no idea what the 'blocksize' and 'number of blocks' do. I just
  22. > used the numbers used in examples. Could someone explain this to me in
  23. > plain, clear english, or even better,  dutch? I really don't
  24. > understand what's meant by double buffering and stuff like this in the
  25. > docs that came with BTNtape (not the authors fault, I just don't know
  26. > enough about these things to understand what's being said).
  27.  
  28. You save files in "blocks" on a tape drive. If your block size was 20
  29. (standard), then each time you saved a file to tape, it would be broken
  30. up into 20 blocks at a time (each block is 512 bytes as specified in the
  31. Startup= line BS-512). This means that each tape write uses 20 x 512 =
  32. 10240 bytes per block. If your file was 10241 bytes long, it would take
  33. two blocks to save it, and you would be wasting 10239 bytes on the tape.
  34. The "trick" is that tapes move faster the less blocks they write - so
  35. bigger blocks speed up the tape at the cost of wasting space on the
  36. tape.
  37.  
  38. The rule of thumb here is that if you have a bunch of small files - use
  39. a small block size (20 is fine). If you have a few large files, use a
  40. larger block size.
  41.  
  42. > The docs that came with the DAT drive only says something like:
  43. > 'Data Capacity:
  44. > The capacity of a 90 m cassette is 2 gigabytes, provided that
  45. > streaming operation is maintained throughout the writing activity. The
  46. > capacity depends on the size of the records sent from the host; a
  47. > capacity of 2 gigabytes assumes a record size of 512 bytes or
  48. > greater.'
  49. > I would greatly appreciate your comments,
  50. > with regards,
  51. > Job Hanssen - hanssen@bart.nl
  52.  
  53. I think your main problem is with tar. I had a hell of a time using it
  54. until I found Gnutar - and IT works like a dream.
  55.  
  56. -- 
  57. Owner and wielder of Occam's razor! (Committed to regula philosophandi)
  58.  
  59.      _/_/_/  _/                  _/            Chris "Big Kahuna"
  60. Rampson M.S.
  61.   _/        _/_/_/    _/  _/_/        _/_/_/  crampson@ford.com
  62.  _/        _/    _/  _/_/      _/  _/_/     NO cutdowns, flames or
  63. insults
  64. _/        _/    _/  _/        _/      _/_/ NO such thing as a stupid
  65. question!
  66.  _/_/_/  _/    _/  _/        _/  _/_/_/   "NOT an OFFICIAL FORD
  67. spokesperson"
  68.